const state = {
  count: localStorage.getItem("vuex_count") || 0
};
const mutations = {
  // count累加
  increment(state) {
    state.count++;
    localStorage.setItem("vuex_count", state.count);
  },
};
const actions = {};
const getters = {};
export default {
  namespaced: true,
  state,
  mutations,
  actions,
  getters
};